package com.movie.ticket.sale.movieassembly.controller.form;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.redis.core.RedisHash;

import java.io.Serializable;
import java.util.Date;
@RedisHash("OrderMessage")
@Data
public class OrderMessage implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    private int id;
    //订单号
    private String tradeNuo;
    //用户id
    private int userId;
    //核对码
    private String checkCode;
    //影院id
    private int cinemaId;
    //电影id
    private int movieId;
    //影厅id
    private int auditoriumId;
    //场次id
    private int peridId;
    //实付价格
    private double realPrice;
    //票价
    private double ticketPrice;
    //手续费
    private double tip;
    //票数
    private int number;
    //退票的票数
    private int refund;
    //改签的票数
    private int change;
    //优惠券id
    private int discountId;
    //订单时间
    private String data;
    //订单状态
    private int state;
    //评论状态
    private int status;
    //投诉状态
    private int statu;
}
